package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialCheckingRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialCheckingPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialCheckingDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialCheckingDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialCheckingDomainImpl extends BaseDomainImpl<ContractInitialCheckingDto, ContractInitialCheckingPo> implements ContractInitialCheckingDomain {

    @Resource
    private ContractInitialCheckingRepository contractInitialCheckingRepository;

    @Override
    public BaseRepository<ContractInitialCheckingPo> getMapper() {
        return contractInitialCheckingRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialCheckingPo>> getRepositoryClass() {
        return ContractInitialCheckingRepository.class;
    }

}
